<?php
    header('Content-type: text/json');
    $callback = isset($_GET["callback"])?$_GET["callback"]:"callback";
    $json_string='{"error":0,"data":{"time":"2017.2.19 16:00:00","html":"<div class=\"answer\"><div class=\"msg-item\"><div class=\"mod-msg\"><div class=\"msg-box\"><p class=\"msg\">根据气象监控局预计未来三天都是晴天！</p></div><i class=\"arrow-left\"></i></div><span class=\"header\"><img src=\"http://k1.jsqq.net/uploads/allimg/1612/140F5A32-6.jpg\"></span></div></div>"}}';
    /* 测试数据 end */
    $obj=json_decode($json_string);
    echo $callback . "(". json_encode($obj). ")";
    exit;
?>

<!-- 提问数据 -->
<!-- <div class=\"question\"><div class=\"msg-item\"><div class=\"mod-msg\"><div class=\"msg-box\"><p class=\"msg\">什么时候是晴天？</p></div><i class=\"arrow-right\"></i></div><span class=\"header\"><img src=\"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3169580764,676396808&fm=117&gp=0.jpg\"></span></div></div> -->

<!-- 回答数据 -->
<!-- <div class=\"answer\"><div class=\"msg-item\"><div class=\"mod-msg\"><div class=\"msg-box\"><p class=\"msg\">根据气象监控局预计未来三天都是晴天！</p></div><i class=\"arrow-left\"></i></div><span class=\"header\"><img src=\"http://k1.jsqq.net/uploads/allimg/1612/140F5A32-6.jpg\"></span></div></div> -->

<!-- 带有时间time 参数，聊天记录将显示时间 -->